package com.itaem.community.modules.pay.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itaem.community.core.entity.Entity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * payEntity的Dto
 * @author feiyang
 */
@Data
public class PayEntityDto extends Entity  {

    @ApiModelProperty(value = "缴费创建时间（属于哪个月？）")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "支付人id")
    private Integer payerId;

    @ApiModelProperty(value = "收费人id")
    private Integer collectorId;

    @ApiModelProperty(value = "水费")
    private BigDecimal waterFees;

    @ApiModelProperty(value = "电费")
    private BigDecimal electricityFees;

    @ApiModelProperty(value = "物业管理费")
    private BigDecimal propertyManagementFees;

    @ApiModelProperty(value = "缴费账单状态 0;未缴费 1:已缴费")
    private Integer status;

}
